import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

public class Apple extends Accesories
{
    private int level;

    /**
     * Apple Constructor.
     */
    public Apple( int lev)
    {
        level=lev;
    }

    /**
     * Method act.
     */
    public void act() 
    {
        super.shift( getX(), getY(), 3,0, level);
    }    
}
